<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>digichef.recipes.models.Recipe</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="digichef-module.html">Package&nbsp;digichef</a> ::
        <a href="digichef.recipes-module.html">Package&nbsp;recipes</a> ::
        <a href="digichef.recipes.models-module.html">Module&nbsp;models</a> ::
        Class&nbsp;Recipe
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="digichef.recipes.models.Recipe-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class Recipe</h1><p class="nomargin-top"><span class="codelink"><a href="digichef.recipes.models-pysrc.html#Recipe">source&nbsp;code</a></span></p>
<center>
<center>  <map id="uml_class_diagram_for_digichef_5" name="uml_class_diagram_for_digichef_5">
<area shape="rect" href="digichef.recipes.models.Recipe-class.html#title" title="digichef.recipes.models.Recipe.title" alt="" coords="17,28,145,47"/>
<area shape="rect" href="digichef.recipes.models.Recipe-class.html#uploader" title="digichef.recipes.models.Recipe.uploader" alt="" coords="17,47,145,65"/>
<area shape="rect" href="digichef.recipes.models.Recipe-class.html#ingredients" title="digichef.recipes.models.Recipe.ingredients" alt="" coords="17,65,145,84"/>
<area shape="rect" href="digichef.recipes.models.Recipe-class.html#instructions" title="digichef.recipes.models.Recipe.instructions" alt="" coords="17,84,145,103"/>
<area shape="rect" href="digichef.recipes.models.Recipe-class.html#image_url" title="digichef.recipes.models.Recipe.image_url" alt="" coords="17,103,145,121"/>
<area shape="rect" href="digichef.recipes.models.Recipe-class.html#tags" title="digichef.recipes.models.Recipe.tags" alt="" coords="17,121,145,140"/>
<area shape="rect" href="digichef.recipes.models.Recipe-class.html#get_absolute_url" title="Ask the recipe for the url to view it" alt="" coords="17,143,145,161"/>
<area shape="rect" href="digichef.recipes.models.Recipe-class.html#__unicode__" title="Called implicitly when you try and print a Recipe object" alt="" coords="17,161,145,180"/>
<area shape="rect" href="digichef.recipes.models.Recipe-class.html" title="The model for a recipe object" alt="" coords="16,11,147,181"/>
</map>
  <img src="uml_class_diagram_for_digichef_5.gif" alt='' usemap="#uml_class_diagram_for_digichef_5" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<pre class="literalblock">
The model for a recipe object

</pre>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="_get_tags"></a><span class="summary-sig-name">_get_tags</span>(<span class="summary-sig-arg">self</span>)</span><br />
      return all tags associated with this object (thus all ingredients in this recipe)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="digichef.recipes.models-pysrc.html#Recipe._get_tags">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="_set_tags"></a><span class="summary-sig-name">_set_tags</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">tag_list</span>)</span><br />
      set the ingredients to all the names in the tag_list</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="digichef.recipes.models-pysrc.html#Recipe._set_tags">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_absolute_url"></a><span class="summary-sig-name">get_absolute_url</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Ask the recipe for the url to view it</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="digichef.recipes.models-pysrc.html#Recipe.get_absolute_url">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__unicode__"></a><span class="summary-sig-name">__unicode__</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Called implicitly when you try and print a Recipe object</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="digichef.recipes.models-pysrc.html#Recipe.__unicode__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!-- ==================== CLASS VARIABLES ==================== -->
<a name="section-ClassVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Class Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-ClassVariables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="title"></a><span class="summary-name">title</span> = <code title="models.CharField(max_length= 200)">models.CharField(max_length= 200)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="digichef.recipes.models.Recipe-class.html#uploader" class="summary-name">uploader</a> = <code title="models.ForeignKey(User, default=-1, related_name= &quot;uploaded_recipes&quot;, \
editable= False)">models.ForeignKey(User, default=-1, related_name= &quot;<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="ingredients"></a><span class="summary-name">ingredients</span> = <code title="models.TextField()">models.TextField()</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="instructions"></a><span class="summary-name">instructions</span> = <code title="models.TextField(blank= True)">models.TextField(blank= True)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="image_url"></a><span class="summary-name">image_url</span> = <code title="models.TextField(blank= True)">models.TextField(blank= True)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="tags"></a><span class="summary-name">tags</span> = <code title="property(_get_tags, _set_tags)">property(_get_tags, _set_tags)</code>
    </td>
  </tr>
</table>
<!-- ==================== CLASS VARIABLE DETAILS ==================== -->
<a name="section-ClassVariableDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Class Variable Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-ClassVariableDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="uploader"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">uploader</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
models.ForeignKey(User, default=-1, related_name= &quot;uploaded_recipes&quot;, <span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
editable= False)
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Thu Apr  1 02:28:22 2010
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
